package com.gmcc.docmanager.app;

public class Constants {
	public static final String ASSET_BASE = "file:///android_asset/";
	private static final String HOST = "221.176.36.24";
	private static final int PORT = 7001;
	private static final String BASE_URL = "http://" + HOST + ":" + PORT
			+ "/ams/rest/";
	public static final boolean IS_INTERFACE_TEST = true;
	public static final String GET_RANDOM_URL = BASE_URL + "random";
	public static final String GET_RANDOM_URL_TEST = ASSET_BASE
			+ "test/random.xml";
	public static final String LOGIN_URL = BASE_URL + "logon";
	public static final String LOGIN_URL_TEST = ASSET_BASE
			+ "test/authResp.xml";
	public static final String SEARCH_URL = BASE_URL + "search";
	public static final String SEARCH_URL_TEST = ASSET_BASE
			+ "test/searchResult.xml";
	public static final String GET_DETAIL_URL = BASE_URL + "document/";
	public static final String GET_DETAIL_URL_TEST = ASSET_BASE
			+ "test/document.xml";
	public static final String APPLY_AUTH_URL = BASE_URL + "apply";
	public static final String APPLY_AUTH_URL_TEST = ASSET_BASE
			+ "test/applyAuthorization.xml";
	public static final String QUERY_APPLICATION_URL = BASE_URL
			+ "queryApplication";
	public static final String QUERY_APPLICATION_URL_TEST = ASSET_BASE
			+ "test/queryApplicationResp.xml";
	public static final String PREF_NAME = "com.gmcc.docmanager.perf";

	public static final String PKGNAME = "com.gmcc.docmanager";
	public static final String ACTION_CLOSE_ACTIVITY = "com.gmcc.docmanager.close.activity";
	public static final String ACTION_BACK_TO_HOME_ACTIVITY = "com.gmcc.docmanager.back2home.activity";
	public static final String ACTION_SEND_DOWNLOAD_BROADCAST = "com.gmcc.docmanager.downloaded";
	public static final String ACTION_DWONLOAD_PROGRESS = "com.gmcc.docmanager.downloadprogress";

	public static final String FOLDER_NAME = "docmanager";
	public static final String CACHE_FOLDER_NAME = "/" + FOLDER_NAME + "/cache";

}
